package com.jollychic.service;

import com.alibaba.dubbo.config.annotation.Reference;
import com.jollychic.model.UserInfo;
import com.jollychic.service.api.IUserService;
import org.springframework.stereotype.Service;

/**
 * Created by xusheng on 2019/4/24.
 */

@Service
public class UserService {

    @Reference
    private IUserService userService;

    public UserInfo getUserInfo(Integer userId) {
        return userService.getUserInfo(userId);
    }

}
